package com.system.business.service;

import com.system.business.been.Business;
import com.system.business.been.IntervalPlanLst;

import java.util.List;

/**
 * @author 林
 */
public interface BusinessService {
    boolean saveBusiness(Business business);
    boolean removeBusinessById(int id);
    boolean modifyBusiness(Business business);
    Business getBusinessById(int id);
    List<Business> listAllBusinesses();
    int findByBusinessId(int businessId);
    List<IntervalPlanLst> findAllIntervalPlanLstByBusinessId(int businessId);
    List<Business> findAllByDepartmentId(int departmentId);
}
